package com.lanou3g.musicenjoy.entity;

import java.util.List;

/**
 * Created by 李宁 on 15/10/21.
 * 排行实体类
 */
public class Ranking {


    private int error_code;
    private List<Content> content;

    public void setError_code(int error_code) {
        this.error_code = error_code;
    }

    public void setContent(List<Content> content) {
        this.content = content;
    }

    public int getError_code() {
        return error_code;
    }

    public List<Content> getContent() {
        return content;
    }

    public static class Content {
        /**
         * comment : 该榜单是根据百度音乐平台歌曲每日播放量自动生成的数据榜单，统计范围为近期发行的歌曲，每日更新一次
         * content : [{"album_id":"247911669","album_title":"夏洛特烦恼","all_rate":"flac,320,256,192,128,64,24","author":"金志文","rank_change":"0","song_id":"247911654","title":"夏洛特烦恼"},{"album_id":"251950349","album_title":"八戒八戒","all_rate":"320,24,256,192,128,64","author":"小沈阳","rank_change":"0","song_id":"251949755","title":"八戒八戒"},{"album_id":"255791460","album_title":"陪你度过漫长岁月","all_rate":"192,64,flac,320,128,256,24","author":"陈奕迅","rank_change":"0","song_id":"255704757","title":"陪你度过漫长岁月"},{"album_id":"247150759","album_title":"那一个","all_rate":"flac,320,256,192,128,64,24","author":"袁野","rank_change":"0","song_id":"247151226","title":"那一个"}]
         * name : 新歌榜
         * pic_s192 : http://b.hiphotos.baidu.com/ting/pic/item/9922720e0cf3d7caf39ebc10f11fbe096b63a968.jpg
         * pic_s210 : http://d.hiphotos.baidu.com/ting/pic/item/c8ea15ce36d3d5393654e23b3887e950342ab0d9.jpg
         * pic_s260 : http://b.hiphotos.baidu.com/ting/pic/item/e850352ac65c1038cb0f3cb0b0119313b07e894b.jpg
         * pic_s444 : http://d.hiphotos.baidu.com/ting/pic/item/78310a55b319ebc4845c84eb8026cffc1e17169f.jpg
         * type : 1
         * web_url :
         */

        private String comment;
        private String name;
        private String pic_s192;
        private String pic_s210;
        private String pic_s260;
        private String pic_s444;
        private int type;
        private String web_url;
        private List<ContentEntity> content;

        public void setComment(String comment) {
            this.comment = comment;
        }

        public void setName(String name) {
            this.name = name;
        }

        public void setPic_s192(String pic_s192) {
            this.pic_s192 = pic_s192;
        }

        public void setPic_s210(String pic_s210) {
            this.pic_s210 = pic_s210;
        }

        public void setPic_s260(String pic_s260) {
            this.pic_s260 = pic_s260;
        }

        public void setPic_s444(String pic_s444) {
            this.pic_s444 = pic_s444;
        }

        public void setType(int type) {
            this.type = type;
        }

        public void setWeb_url(String web_url) {
            this.web_url = web_url;
        }

        public void setContent(List<ContentEntity> content) {
            this.content = content;
        }

        public String getComment() {
            return comment;
        }

        public String getName() {
            return name;
        }

        public String getPic_s192() {
            return pic_s192;
        }

        public String getPic_s210() {
            return pic_s210;
        }

        public String getPic_s260() {
            return pic_s260;
        }

        public String getPic_s444() {
            return pic_s444;
        }

        public int getType() {
            return type;
        }

        public String getWeb_url() {
            return web_url;
        }

        public List<ContentEntity> getContent() {
            return content;
        }

        public static class ContentEntity {
            /**
             * album_id : 247911669
             * album_title : 夏洛特烦恼
             * all_rate : flac,320,256,192,128,64,24
             * author : 金志文
             * rank_change : 0
             * song_id : 247911654
             * title : 夏洛特烦恼
             */

            private String album_id;
            private String album_title;
            private String all_rate;
            private String author;
            private String rank_change;
            private String song_id;
            private String title;

            public void setAlbum_id(String album_id) {
                this.album_id = album_id;
            }

            public void setAlbum_title(String album_title) {
                this.album_title = album_title;
            }

            public void setAll_rate(String all_rate) {
                this.all_rate = all_rate;
            }

            public void setAuthor(String author) {
                this.author = author;
            }

            public void setRank_change(String rank_change) {
                this.rank_change = rank_change;
            }

            public void setSong_id(String song_id) {
                this.song_id = song_id;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getAlbum_id() {
                return album_id;
            }

            public String getAlbum_title() {
                return album_title;
            }

            public String getAll_rate() {
                return all_rate;
            }

            public String getAuthor() {
                return author;
            }

            public String getRank_change() {
                return rank_change;
            }

            public String getSong_id() {
                return song_id;
            }

            public String getTitle() {
                return title;
            }
        }
    }
}
